package com.expense.common.dao.auth;

import com.expense.common.config.BaseDao;
import com.expense.common.model.auth.AdminRole;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;

import java.util.List;

@SqlResource("auth.adminRole")
public interface AdminRoleDao extends BaseDao<AdminRole> {

    List<AdminRole> sample();

    PageQuery<AdminRole> findListPage(PageQuery pageQuery);

    List<AdminRole>  findAvailableRole();

    List<AdminRole>  getAllRole();

}
